<!DOCTYPE html>
<html>
<head>
	<script src="../promise.js"></script>
</head>
<body>
	<script>
        new Promise(function(resolve){
            resolve();
        }).then(function(){
            console.log("first then");
            return "hello";
        }).then(function(result){
            console.log("second then");
            console.log(result);
        });
	</script>
</body>
</html>
